/* 成片管理 */
import request from '@/utils/request';
import {object2Url} from "@/utils/trans";

// 分页查询成片数据
export async function projectjob (data) {
  const res = await request.post('/business/montage/projectjob/page', data)
  if (res.data.code === 2000) {
    return res.data.data;
  }
  return Promise.reject(new Error(res.data.msg));
}

// 删除成片数据
export async function delProjectjob (data) {
  const res = await request.post('/business/montage/projectjob/delete', data)
  if (res.data.code === 2000) {
    return res.data.data;
  }
  return Promise.reject(new Error(res.data.msg));
}
